package org.twdata.pipeline;

/**
 *  General exception to wrap any exceptions thrown by the transformation
 *  process.
 */
public class PipelineException extends Exception {

    /**
     *  Constructor
     *
     *@param  msg  Error message
     *@param  ex   Wrapped throwable
     */
    public PipelineException(String msg, Throwable ex) {
        super(msg, ex);
    }
    
    /**
     *  Constructor
     *
     *@param  msg  Error message
     */
    public PipelineException(String msg) {
        super(msg);
    }


    /**
     *  Constructor
     *
     *@param  ex  Wrapped throwable
     */
    public PipelineException(Throwable ex) {
        super(ex);
    }

}

